home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 490 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. From: Claus Brod <clausb@hpbeo79.bbn.hp.com>
  2. Subject: Re: mint-aware HD driver
  3. Date: Mon, 13 Sep 93 17:26:57 MESZ
  4. Mailer: Elm [revision: 70.85]
  5.  
  6. > I don't think it's strictly necessary to re-implement GEMDOS right now -
  7. > simply putting something like
  8. >     Psemaphore(2,'GEMD',-1L) ;  /* request GEMDOS Semaphore */
  9. > /before/ and something like
  10. >     Psemaphore(3,'GEMD',-1L) ;  /* release GEMDOS Semaphore */
  11. > /after/ any GEMDOS calls in tosfs.c should protect GEMDOS from any
  12. > reentrant calls.
  13.  
  14. I was thinking exactly along these lines for a first test
  15. implementation. I just didn't find the time to do that yet,
  16. especially because I still have problems with MiNT 1.09
  17. (it just seems to sit there and hang, i.e. no reaction to
  18. mouse clicks anymore).
  19.  
  20. One thing that I am not sure about is how Pexec() fits into this
  21. scheme.  MiNT calls the "native" Pexec(), and Pexec() itself
  22. probably uses GEMDOS file system functions to load a file.  If
  23. the "native" Pexec() calls the FS functions via the trap
  24. mechanism, this should not be a problem, but what if it doesn't?
  25. I guess I'll have to look into the kernel again to decide what to
  26. do here, but including Pexec() calls into the semaphore scheme
  27. above should be on the safe side.
  28.  
  29. --clausb@hpbeo79.bbn.hp.com-----------------------------------------------
  30. Claus Brod, MDD, HP Boeblingen      Magic is real unless declared integer.
  31. --#include <std_disclaimer>-----------------------------------------------
  32.